package com.naire.modul.cusorg.service;

import java.util.List;

import net.common.service.GeneralService;
import com.naire.modul.cusorg.dao.CusorgDao;
import com.naire.modul.cusorg.dao.impl.CusorgDaoImpl;
import com.naire.modul.cusorg.vo.CusorgVo;

/**
 * 
 * 
 * @author Administrator
 * 
 */
public class CusorgSearchService extends GeneralService {

	private List<CusorgVo> list;
	private Integer cust_id;

	@Override
	public void execute() throws Exception {
		CusorgDao dao = new CusorgDaoImpl();
		list = dao.search(pageBean, cust_id);
	}

	public List<CusorgVo> getList() {
		return list;
	}

	public void setCust_id(Integer cust_id) {
		this.cust_id = cust_id;
	}

}
